{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "646a7e7c-a91a-4ae9-8623-87f78b34785b",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "3"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "a = [1,2,3]\n",
    "len(a)\n",
    "# len 方法底层会调用__len__\n",
    "# 官方的解释器是cpython, 统计内置的类型，列表，元组，字典，集合 速度很快\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "3f5ed33c-d2b1-4659-a27e-32669a500cba",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.12.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
